package com.changeover.gwt.client.event;

import com.google.gwt.event.shared.GwtEvent;

public class LoginViewEvent extends GwtEvent<ILoginViewEventHandler> {

    public static final Type<ILoginViewEventHandler> TYPE = new Type<ILoginViewEventHandler>();

    @Override
    public Type<ILoginViewEventHandler> getAssociatedType() {
        return TYPE;
    }

    @Override
    protected void dispatch(ILoginViewEventHandler handler) {
        handler.onLogined(this);
    }
}
